// specobj.txt 

// A very simple and important script. When the object is used,
// triggers a hardcoded special encounter

// Cell 0 - The special encounter to run.
// Cell 1,2 - A stuff done flag. if non-zero, the converation no longer
//   happens when the object is used. These can both be left at 0 (for no flag).

beginobjectscript; // talking object

variables;

body;

beginstate INIT_STATE;
	break;

beginstate DEAD_STATE;
	break;

beginstate START_STATE; 
	break;

beginstate USE_STATE;
	if (char_ok(3814)) {
		sf(38,9,10);
		sf(38,18,2);
		//run_game_hardcode(1032);
		erase_char(3814);
		ok_dlog(58,2);
		ok_dlog(60,5);
		}

	
	run_special(get_memory_cell(0));

	
break;
